net/http.transferWriter.Method (field)
12 uses
net/http (current package)
transfer.go#L60: Method string
transfer.go#L86: t.Method = valueOrDefault(rr.Method, "GET")
transfer.go#L112: t.Method = rr.Request.Method
transfer.go#L122: t.ResponseToHEAD = noResponseBodyExpected(t.Method)
transfer.go#L174: if t.Method == "CONNECT" {
transfer.go#L177: if requestMethodUsuallyLacksBody(t.Method) {
transfer.go#L263: if t.Method == "POST" || t.Method == "PUT" || t.Method == "PATCH" {
transfer.go#L267: if t.Method == "GET" || t.Method == "HEAD" {
transfer.go#L365: if t.Method == "CONNECT" {
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |